package com.qf.mapper;/*
 *徐韬
 *2021/11/2
 *17:36
 */

import com.qf.pojo.TFilters;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface filterMapper {
    @Select("select * from t_filters")
    List<TFilters>  finAll();
    @Insert("insert into t_filters values(0,#{filters},#{filter_state})")
    int insertFilter(TFilters tFilters);
    int update(TFilters tFilters);
    int delete(@Param("ids") List<Integer> ids);
}
